package com.zc58s.servlet;

import javax.servlet.ServletException;
import javax.servlet.http.HttpServlet;
import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;
import java.io.IOException;

/**
 * @author : fujc-dev@qq.com
 * @created : 2022/10/14 13:28
 */

public class MyServlet extends HttpServlet {
    private static final long serialVersionUID = -4896324660785056349L;

    @Override
    protected void doGet(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("this is customs do get mothod!");
        super.doGet(req, resp);
    }

    @Override
    protected void doPost(HttpServletRequest req, HttpServletResponse resp) throws ServletException, IOException {
        System.out.println("this is customs do post mothod!");
        super.doPost(req, resp);
    }
}
